package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.XsskDescBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface XsskDescService extends BaseService<XsskDescBean> {

	XsskDescBean getXsskDescBeanById(String id) throws Exception;
	
	void removeXsskDescBeanById(String id) throws Exception;
	
	void removeXsskDescBeanByIds(String ids) throws Exception;
	
	XsskDescBean saveXsskDescBean(XsskDescBean crm) throws Exception;
	
	XsskDescBean updateXsskDescBean(XsskDescBean crm) throws Exception;
	
	Page<XsskDescBean>  findXsskDescBeanByCond(XsskDescBean bean,
			Page<XsskDescBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveXsskDescBeanExt(String sql) throws Exception;

	String findXsskDescBeanExtCreate(String tableName) throws Exception;

	String findXsskDescBeanExtEdit(String tableName, String id)
			throws Exception;

	String findXsskDescBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasXsskDescBeanExtData(String tableName, String id)
			throws Exception;
}